package core;

import java.util.Hashtable;

public class EventInfo {
	private Hashtable infos = new Hashtable();
	  
	public void addEvent(String evt, Integer d)
	{
		infos.put(evt,d);
	}
	
	public int getEvent(String evt) 
	{
		Integer d = (Integer) infos.get(evt);
		return d.intValue();
	}

}
